public class Work5 {
    public static void main(String[] args) {
        double i;
        double sum = 1;
        for (i=1;i<=20; i++) {
            sum = sum * i;
        }
        System.out.println(sum);
    }
}
